package com.ruoyi.bussiness.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 培训内容对象 tra_course
 * 
 * @author ruoyi
 * @date 2023-11-12
 */
public class TraCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 序号 */
    @Excel(name = "序号")
    private Long no;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 内容 */
    @Excel(name = "内容")
    private String tent;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createdAt;

    /** 课时 */
    @Excel(name = "课时")
    private Integer classHour;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setNo(Long no) 
    {
        this.no = no;
    }

    public Long getNo() 
    {
        return no;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTent(String tent) 
    {
        this.tent = tent;
    }

    public String getTent() 
    {
        return tent;
    }
    public void setCreatedAt(Long createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Long getCreatedAt() 
    {
        return createdAt;
    }
    public void setClassHour(Integer classHour) 
    {
        this.classHour = classHour;
    }

    public Integer getClassHour() 
    {
        return classHour;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("no", getNo())
            .append("name", getName())
            .append("tent", getTent())
            .append("createdAt", getCreatedAt())
            .append("classHour", getClassHour())
            .append("memo", getMemo())
            .toString();
    }
}
